package com.crayon.scoreboard.item;

import java.util.Date;
import java.util.LinkedList;
import java.util.List;

/**
 * Created by kafka on 15. 2. 17..
 */
public class ItemGame {
    Date dtStart=new Date();
    Date dtEnd=new Date();
    long gameTime;//game 시작후 시간...
    ItemTeam teamRed=new ItemTeam("BLUE");
    ItemTeam itemBlue=new ItemTeam("RED");
    List<ItemScore> scores  =new LinkedList<ItemScore>();

    public void appendScore(ItemScore item){
        scores.add(item);
    }

    public Date getDtStart() {
        return dtStart;
    }

    public void setDtStart(Date dtStart) {
        this.dtStart = dtStart;
    }

    public Date getDtEnd() {
        return dtEnd;
    }

    public void setDtEnd(Date dtEnd) {
        this.dtEnd = dtEnd;
    }

    public long getGameTime() {
        return gameTime;
    }

    public void setGameTime(long gameTime) {
        this.gameTime = gameTime;
    }

    public ItemTeam getTeamRed() {
        return teamRed;
    }

    public void setTeamRed(ItemTeam teamRed) {
        this.teamRed = teamRed;
    }

    public ItemTeam getItemBlue() {
        return itemBlue;
    }

    public void setItemBlue(ItemTeam itemBlue) {
        this.itemBlue = itemBlue;
    }

    public List<ItemScore> getScores() {
        return scores;
    }

    public void setScores(List<ItemScore> scores) {
        this.scores = scores;
    }
}
